package com.chargerlink.echarger.until;

/**
 * Created by fansxnet on 17-5-8.
 */
public class KeysUntil {
    public static String  prefix = "e-charger:";


    public static String GEO_QUEUE = prefix+"queue";



    /**
     * station 基本信息
     * 类型: Hashes
       key: e-charger:stations:{station_id}
       value(hash):
     */
    public static String stationsKey(String  stationId){
            return prefix+"stations:"+stationId;
    }

    /**
     * charger 状态信息

     类型: Hashes
     key: e-charger:stakeNo:{stakeNo}:chargerNo:{chargerNo}
     value(hash):
     */

    public static String chargerKey(String stakeNo, String chargerNo){
        return prefix+"stakeNo:"+stakeNo+":chargerNo:"+chargerNo;
    }
}
